
<script>
	export default {
		onLaunch: function() {
			// #ifndef H5
			let menuButtonObject = uni.getMenuButtonBoundingClientRect();
			this.globalData.menuButtonObject = menuButtonObject;
			uni.getSystemInfo({
				success: res => {
					let statusBarHeight = res.statusBarHeight,
						navHeight;
					this.globalData.iStatusBarHeight = statusBarHeight;
					navHeight = menuButtonObject.height + (menuButtonObject.top - statusBarHeight) *
					2; //导航高度
					this.globalData.navHeight = navHeight;
				},
			});
			// #endif
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide');
		},
		globalData: {
			navHeight: 44, //导航栏的高度
			menuButtonObject: 0, //胶囊参数
			iStatusBarHeight: 0,
		},
	};
</script>

<style lang="scss" >
	/*每个页面公共css */
	@import '@/style/common.scss';
	

	
	@font-face {
	    font-family: 'UKIJ Tor';
	    src: url('commone/UKIJTor/UKIJTor.eot');
	    src: url('commone/UKIJTor/UKIJTor.eot?#iefix') format('embedded-opentype'),
	    url('commone/UKIJTor/UKIJTor.svg#iqbalzaman') format('svg');
	    font-weight: normal;
	    font-style: normal;
	    font-display: swap;
	}
	text,view{
		font-family: UKIJ Tor !important;
	}
	*{
		font-family: UKIJ Tor !important;
	}
	.tag-status {
		padding: 0 20rpx;
		height: 40rpx;
		border-radius: 22rpx;
		align-self: flex-start;
		margin-left: 30rpx;
	}

	.status-color-0,
	.status-color--2 {
		color: #ee6a15;
		background: #ffefe6;
	}

	// 已完成
	.status-color-1 {
		color: #00cf15;
		background: #e6ffe8;
	}

	.status-color-2 {
		color: #ff0000;
		background: #fdebeb;
	}

	.status-color-3 {
		color: #ff0000;
		background: #fdebeb;
	}

	.status-color-4 {
		color: #666666;
		background: #e6e6e6;
	}

	.status-color-5 {
		color: #666666;
		background: #e6e6e6;
	}
</style>